package net.oschina.app.fragment;

import net.oschina.app.base.BaseViewPagerFragment;
import net.oschina.app.factory.BaseFactory;
import net.oschina.app.factory.NewsFragmentFactory;

/**
 * Created by wei03 on 2017/1/12.
 */
public class NewsFragment extends BaseViewPagerFragment {
    /**
     * @return  工厂对象
     */
    @Override
    protected BaseFactory getFragmentFactory() {
        return new NewsFragmentFactory();
    }

    //标题
    @Override
    protected String[] getPageTitile() {
        return new String[]{"资讯", "热点", "博客", "推荐"};
    }

}
